package com.pvo.vo;

public class ColumnVO {

	private String name;
	private String type;
	private Integer size;
	private Integer decimalDigits;
	private boolean nullable;
	private String comment;
	private boolean isPrimaryKey;

	public ColumnVO() {
		super();
	}

	public ColumnVO(String name, String type, Integer size, Integer decimalDigits, boolean nullable, String comment) {
		super();
		this.name = name;
		this.type = type;
		this.size = size;
		this.decimalDigits = decimalDigits;
		this.nullable = nullable;
		this.comment = comment;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getSize() {
		return size;
	}

	public void setSize(Integer size) {
		this.size = size;
	}

	public Integer getDecimalDigits() {
		return decimalDigits;
	}

	public void setDecimalDigits(Integer decimalDigits) {
		this.decimalDigits = decimalDigits;
	}

	public boolean isNullable() {
		return nullable;
	}

	public void setNullable(boolean nullable) {
		this.nullable = nullable;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public boolean isPrimaryKey() {
		return isPrimaryKey;
	}

	public void setPrimaryKey(boolean isPrimaryKey) {
		this.isPrimaryKey = isPrimaryKey;
	}

	@Override
	public String toString() {
		return "ColumnVO [name=" + name + ", type=" + type + ", size=" + size + ", decimalDigits=" + decimalDigits + ", nullable=" + nullable
				+ ", comment=" + comment + "]";
	}

}
